<h1 style="text-align:center;margin:50px auto;">修改</h1>

<form class="form-horizontal" method="post" action="{:url('index/index/update')}">
    <input type="hidden" name="id" value="{$data.id}">
    <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">用户名</label>
        <div class="col-sm-3">
            <input type="text" name="username" class="form-control" id="inputEmail3" placeholder="username" value="{$data.username}">
        </div>
    </div>
    <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">用户账号</label>
        <div class="col-sm-3">
            <input type="text" name="usernum" class="form-control" id="inputEmail3" placeholder="username" value="{$data.usernum}">
        </div>
    </div>
    <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label">Password</label>
        <div class="col-sm-3">
            <input type="text" name="password" class="form-control" id="inputPassword3" placeholder="Password" value="{$data.password}">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-default">修改</button>
        </div>
    </div>
</form>